package com.atguigu.product.products.feign;

import com.atguigu.common.to.es.SkuHasStock;
import com.atguigu.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;


@FeignClient("gulimall-ware")
public interface WareFeign {
    @PostMapping("ware/waresku/skuId/info")
     R skuIdInfo(@RequestBody List<Long> skuIds);
}
